package com.example.school.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName orders
 */
@TableName(value ="orders")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Orders implements Serializable {
    /**
     * 
     */
    @TableId(value = "orders_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long ordersId;

    /**
     * 
     */
    @TableField(value = "orders_user_id")
    private Long ordersUserId;

    /**
     *
     */
    @TableField(value = "orders_name")
    private String ordersName;

    /**
     * 
     */
    @TableField(value = "orders_message")
    private String ordersMessage;

    /**
     * 
     */
    @TableField(value = "orders_price")
    private String ordersPrice;

    /**
     * 
     */
    @TableField(value = "orders_time")
    private String ordersTime;

    /**
     * 
     */
    @TableField(value = "orders_msec")
    private Long ordersMsec;

    /**
     * 
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}